package club.zhilin.guli.service.edu.domain;

import club.zhilin.guli.service.base.model.BaseDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 课程收藏
 * </p>
 *
 * @author zhilin
 * @since 2022-01-11 15:29:01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("edu_course_collect")
@ApiModel(value = "CourseCollect对象", description = "课程收藏")
public class CourseCollect extends BaseDomain {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("收藏ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("课程讲师ID")
    @TableField("course_id")
    private String courseId;

    @ApiModelProperty("课程专业ID")
    @TableField("member_id")
    private String memberId;


}
